<template>
    <div class="post-detail">
      <h2>帖子详情页</h2>
      <p>帖子ID: {{ $route.params.id }}</p>
    </div>
  </template>
  
  <style scoped>
  .post-detail {
    padding: 2rem;
  }
  </style>